home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 37
/
Aminet 37 (2000)(Schatztruhe)[!][Jun 2000].iso
/
Aminet
/
text
/
edit
/
JumpED.readme
< prev
next >
Wrap
Text File
|
2000-05-02
|
5KB
|
170 lines
Short: Handy Text editor tool, Jump to Labels via List
Author: Bruce steers <bsteers@btinternet.com>
Uploader: http://www.btinternet.com/~bsteers/
Version: $VER JumpED 3.3 (21/03/00)
Required: MUI , An Editor with ARexx
---------------------------------------------------------------------
Intro:
------
JumpED is a tool i wrote because of those times when you load up an
old source code you wrote and then think where the hell's that
function gone ! , and you can't quite remember it's name to use your
Editors Search function :-\
Basically JumpED reads through an ascii file and then presents you with
a list of all the files functions..
Currently JumpED recognises ARexx , Amiga_E and Guide files .
any other files will be searched for ARexx type definitions
ie. the 1st word of a line ends in a ':' character.
eg. this readme will load and list all the nodes :)
---------------------------------------------------------------------
Usage:
------
double click WB icon or run with no args to load a doc via file requester
or execute 'JumpED <Filename> quick/s'
You double click a browsernode and your editor will automatically
jump to the right line number.
you can enter a new name in the string gadget to specify another doc.
also window is an app window so you can drop an icon onto it.
Read ; This will read / re-read the document
Prefs ; See Settings below
---------------------------------------------------------------------
Settings:
---------
JumpED is set up best to use BED , it also has defaults for GoldED
and DigitalQuill but as i do not use these i haven't made them perfect
but you can edit the commands used for jumping to suit your own editor,
you must know it's ARexx commands.
the default BED Settings may look a bit complicated to the novice but set
up this way I can run JumpED at any time (even if doc or Bed are closed)
the main Jump settings are ARexx functions
IF YOU GET THIS TO WORK WITH OTHER EDITORS OR IMPROVE THE SETTINGS IN
ANY WAY , PLEASE SEND ME YOUR envarc:JumpED.Cgf file SO I CAN UPGRADE
THE SUPPORT.
THANKS
The ARexx settings are split into 4 parts and are placed in their correct
string gadgets using ';' to separate lines ...
here are the defaults for BED
(1). the function to check editor is Running.
note: i use %f to add the filename)
-----------------------
if ~show(p,'BED') then do
address command 'run >nil: BED "%f"'
address command 'waitforport BED'
end
-----------------------
(2). the function to address the port of the open document
note: the last command actually addresses the port
-----------------------
address BED
getdocuments
docs=result
fp='%f'
name=substr(fp,max(lastpos('/',fp),lastpos(':',fp))+1) --> gets FilePart
if index(docs,name)==0 then opendoc fp
Getport fp
port=RESULT
address value port
-----------------------
(3). the function to move to the line
-----------------------
move %n CENTER
-----------------------
(4). the function to activate the document window (optional)
-----------------------
activatewindow
-----------------------
'Save' saves settings to env: and envarc:
'Use' saves settings to env: only
'Restore' restores settings from
-----------------------
Show Line Numbers:
------------------
This little Checkmark will toggle the showing of the
line numbers in the main list.
Quit on Click
-------------
This will quit JumpEd when you double click the list
it's not realy meant for a global setting but more as an argument
passed at startup , eg.. 'Jumped filname quick'.
---------------------------------------------------------------------
TODO:
i intend to make this program recognise different file extentions so
it can be used for other file formats,
examples.
TYPE , EXTENTION , LABEL SYNTAX
-----------,-----------,---------------
ARexx , #?rexx#? , <name>:
Amiga_E , #?.e , PROC <name>(
AmigaGuide , #?.guide , @NODE "<name>"
these will be held in the settings file
the first definition will be the fallback type.
you will be able to alter / add / remove them to your liking,
---------------------------------------------------------------------
please send reports/suggestions/questions to bsteers@btinternet.com
Bruce Steers <bsteers@btinternet.com>
http://www.btinternet.com/~bsteers/
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
669 288 56.9% 16-Mar-00 02:31:58 JumpED.info
22288 10001 55.1% 21-Mar-00 00:22:34 +JumpED
5390 2280 57.6% 21-Mar-00 00:21:06 +JumpED.guide
2639 1505 42.9% 07-Feb-00 13:07:18 +JumpED.guide.info
669 282 57.8% 24-Feb-00 23:04:36 +JumpED.info
4338 1940 55.2% 21-Mar-00 00:20:58 +JumpED.readme
1383 830 39.9% 07-Feb-00 13:07:18 +JumpED.readme.info
-------- ------- ----- --------- --------
37376 17126 54.1% 02-Apr-100 14:33:38 7 files